

const pi = Math.PI;

module.exports = (radius)=>{
  return{
    area(){
      return pi * radius * radius;
    },
    circumference(){
      return pi * 2 * radius;   
    },
    diameter(){
      return 2 * radius;
    }
  };
};

console.log(module);
